package org.opengauss.evaluate.dao;

public class ScanSingleSql {
    private String sql;
    private String id;
    private int line;
    private String tag;
    private String filename;

    /**
     * Construct
     *
     * @param sql : sql.
     * @param id : origin position.
     * @param line : sql line.
     * @param tag : xml tag.
     * @param filename : origin input filename.
     */
    public ScanSingleSql(String sql, String id, int line, String tag, String filename) {
        this.sql = sql;
        this.id = id;
        this.line = line;
        this.tag = tag;
        this.filename = filename;
    }

    public String getSql() {
        return sql;
    }

    public void setSql(String sql) {
        this.sql = sql;
    }

    public int getLine() {
        return line;
    }

    public void setLine(int line) {
        this.line = line;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTag() {
        return tag;
    }

    public String getFilename() {
        return filename;
    }
}
